package srzy.data

class DBCompInfo {
  var oraderId: String = ""
  var originalSQL: String = ""
  var para: String = ""
  var preResult: String = ""
  var assembledSQL: String = ""
  var arrPara: List[String] = List.empty[String]
  var result: String = ""
  var compResult: Boolean = true

  override def toString(): String =
    //    "DBCompInfo [originalSQL=" + originalSQL + ", para=" + para + ", preResult=" + preResult + ", assembledSQL=" + assembledSQL + ", arrPara=" + arrPara + ", result=" + result + ", compResult=" + compResult + "]"
    "originalSQL     :" + originalSQL + "\n" +
      "para            :" + para + "\n" +
      "preResult       :" + preResult + "\n" +
      "assembledSQL    :" + assembledSQL + "\n" +
      "arrPara         :" + arrPara + "\n" +
      "result          :" + result + "\n" +
      "compResult      :" + compResult + "\n"
  //    "oraderId:" + oraderId + "\n" +
  //    "originalSQL:" + originalSQL + "\n" +
  //    "para:" + para + "\n" +
  //    "preResult:" + preResult + "\n" +
  //    "assembledSQL:" + assembledSQL + "\n" +
  //    "arrPara:" + arrPara + "\n" +
  //    "result:" + result + "\n" +
  //    "compResult:" + compResult + "\n"
}